package org.springblade.modules.door.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.door.dto.DoorDeviceMsgDto;
import org.springblade.modules.door.entity.DoorDevice;
import org.springblade.modules.door.vo.DoorDeviceVo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IDoorDeviceService extends IService<DoorDevice> {
	DoorDeviceVo register(String deviceCode, String readerSn);

	boolean sendDoorMsg(DoorDeviceMsgDto doorDeviceMsgDto);

    void downloadLogUrl(HttpServletRequest request, HttpServletResponse response, String deviceCode, String date);
}
